<?php
//include statements
include ('./pageLayout.php');
include ('./eventClass.php');

//instantiate a new PageLayout object
$layout = new PageLayout();

//header section
$layout->header();

//body section (public scope)
$layout->body('private');

//content
echo "  <section>\n";

//instantiate a new Event object
$event = new Event();
//call addEvent
$event->addEventHandler();

echo "  </section>\n";

//footer section
$layout->footer();

?>